﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Chinesys.DataModel;

namespace Chinesys.Entities
{
    public class UserEntity : EntityBase
    {

        public UserEntity()
        {
        }

        public int Id
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        public string FirstName
        {
            get;
            set;
        }

        public string LastName
        {
            get;
            set;
        }

        public string Email
        {
            get;
            set;
        }

        public string Pass
        {
            get;
            set;
        }

        public bool Newsletter
        {
            get;
            set;
        }

        public bool Active
        {
            get;
            set;
        }

        public string Address
        {
            get;
            set;
        }

        public string PhoneOne
        {
            get;
            set;
        }

        public string PhoneTwo
        {
            get;
            set;
        }

        public string PhoneThree
        {
            get;
            set;
        }

        public RoleEntity Role { get; set; }
    }
}
